﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShivamEMR.Model.Domain.ContactsDomain;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.AccountsDomain
{
   public class Money
    {
        #region Properties
        public Guid ID { get; set; }
        public decimal Amount { get; set; } 
        #endregion

        #region ForeignKeyProperties
        public int CultureAndRegionID { get; set; } 
        #endregion

        #region NavigationalProperties
       [ForeignKey("CultureAndRegionID")]
        public virtual CultureAndRegion CultureAndRegion { get; set; }

        public virtual ICollection<Account> Accounts { get; set; }

        public virtual ICollection<AccountsVoucher> Vouchers { get; set; }

        //public virtual ICollection<Payment> Payments { get; set; }

        public virtual ICollection<AccountBalance> Balances { get; set; }
        #endregion
    }
}
